#!/bin/bash
for i in `seq 10`
do
if [[ $i -lt 10 ]];then
useradd oldboy0$i && echo `head -200 /dev/urandom |cksum|cut -c 1-8` | passwd oldboy0$i --stdin
else useradd oldboy$i && echo `cat /dev/urandom | sed 's/[^a-zA-Z0-9]//g' | strings -n 8 | head -n 1` | passwd oldboy$i --stdin
fi
done
